﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004E1 RID: 1249
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildStartLevelScRsp : IMessage<EvolveBuildStartLevelScRsp>, IMessage, IEquatable<EvolveBuildStartLevelScRsp>, IDeepCloneable<EvolveBuildStartLevelScRsp>, IBufferMessage
	{
		// Token: 0x1700102F RID: 4143
		// (get) Token: 0x06003881 RID: 14465 RVA: 0x0009BB0F File Offset: 0x00099D0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildStartLevelScRsp> Parser
		{
			get
			{
				return EvolveBuildStartLevelScRsp._parser;
			}
		}

		// Token: 0x17001030 RID: 4144
		// (get) Token: 0x06003882 RID: 14466 RVA: 0x0009BB16 File Offset: 0x00099D16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildStartLevelScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001031 RID: 4145
		// (get) Token: 0x06003883 RID: 14467 RVA: 0x0009BB28 File Offset: 0x00099D28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildStartLevelScRsp.Descriptor;
			}
		}

		// Token: 0x06003884 RID: 14468 RVA: 0x0009BB2F File Offset: 0x00099D2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelScRsp()
		{
		}

		// Token: 0x06003885 RID: 14469 RVA: 0x0009BB38 File Offset: 0x00099D38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelScRsp(EvolveBuildStartLevelScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this.lLLMLIMHHAL_ = ((other.lLLMLIMHHAL_ != null) ? other.lLLMLIMHHAL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003886 RID: 14470 RVA: 0x0009BBA0 File Offset: 0x00099DA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelScRsp Clone()
		{
			return new EvolveBuildStartLevelScRsp(this);
		}

		// Token: 0x17001032 RID: 4146
		// (get) Token: 0x06003887 RID: 14471 RVA: 0x0009BBA8 File Offset: 0x00099DA8
		// (set) Token: 0x06003888 RID: 14472 RVA: 0x0009BBB0 File Offset: 0x00099DB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001033 RID: 4147
		// (get) Token: 0x06003889 RID: 14473 RVA: 0x0009BBB9 File Offset: 0x00099DB9
		// (set) Token: 0x0600388A RID: 14474 RVA: 0x0009BBC1 File Offset: 0x00099DC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x17001034 RID: 4148
		// (get) Token: 0x0600388B RID: 14475 RVA: 0x0009BBCA File Offset: 0x00099DCA
		// (set) Token: 0x0600388C RID: 14476 RVA: 0x0009BBD2 File Offset: 0x00099DD2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SceneBattleInfo LLLMLIMHHAL
		{
			get
			{
				return this.lLLMLIMHHAL_;
			}
			set
			{
				this.lLLMLIMHHAL_ = value;
			}
		}

		// Token: 0x0600388D RID: 14477 RVA: 0x0009BBDB File Offset: 0x00099DDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildStartLevelScRsp);
		}

		// Token: 0x0600388E RID: 14478 RVA: 0x0009BBEC File Offset: 0x00099DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildStartLevelScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.LevelInfo, other.LevelInfo) && object.Equals(this.LLLMLIMHHAL, other.LLLMLIMHHAL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600388F RID: 14479 RVA: 0x0009BC50 File Offset: 0x00099E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this.lLLMLIMHHAL_ != null)
			{
				num ^= this.LLLMLIMHHAL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003890 RID: 14480 RVA: 0x0009BCBB File Offset: 0x00099EBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003891 RID: 14481 RVA: 0x0009BCC3 File Offset: 0x00099EC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003892 RID: 14482 RVA: 0x0009BCCC File Offset: 0x00099ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lLLMLIMHHAL_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.LLLMLIMHHAL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.LevelInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003893 RID: 14483 RVA: 0x0009BD44 File Offset: 0x00099F44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this.lLLMLIMHHAL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LLLMLIMHHAL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003894 RID: 14484 RVA: 0x0009BDB4 File Offset: 0x00099FB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildStartLevelScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new EvolveBuildLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			if (other.lLLMLIMHHAL_ != null)
			{
				if (this.lLLMLIMHHAL_ == null)
				{
					this.LLLMLIMHHAL = new SceneBattleInfo();
				}
				this.LLLMLIMHHAL.MergeFrom(other.LLLMLIMHHAL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003895 RID: 14485 RVA: 0x0009BE48 File Offset: 0x0009A048
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003896 RID: 14486 RVA: 0x0009BE54 File Offset: 0x0009A054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 48U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.levelInfo_ == null)
							{
								this.LevelInfo = new EvolveBuildLevelInfo();
							}
							input.ReadMessage(this.LevelInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.lLLMLIMHHAL_ == null)
					{
						this.LLLMLIMHHAL = new SceneBattleInfo();
					}
					input.ReadMessage(this.LLLMLIMHHAL);
				}
			}
		}

		// Token: 0x04001642 RID: 5698
		private static readonly MessageParser<EvolveBuildStartLevelScRsp> _parser = new MessageParser<EvolveBuildStartLevelScRsp>(() => new EvolveBuildStartLevelScRsp());

		// Token: 0x04001643 RID: 5699
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001644 RID: 5700
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04001645 RID: 5701
		private uint retcode_;

		// Token: 0x04001646 RID: 5702
		public const int LevelInfoFieldNumber = 15;

		// Token: 0x04001647 RID: 5703
		private EvolveBuildLevelInfo levelInfo_;

		// Token: 0x04001648 RID: 5704
		public const int LLLMLIMHHALFieldNumber = 4;

		// Token: 0x04001649 RID: 5705
		private SceneBattleInfo lLLMLIMHHAL_;
	}
}
